package com.qumitech.visualnovel.service.forbidden;

import com.qumitech.visualnovel.model.common.BaseRsp;
import com.qumitech.visualnovel.controller.vo.forbidden.UserForbiddenAdminDTO;
import com.qumitech.visualnovel.controller.vo.forbidden.UserForbiddenVO;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author :  ZhChNing
 * @Descriptiom :
 * @Date Created in 2019/7/1 19:06
 */

public interface UserForbiddenService {

    void addUserForbidden(UserForbiddenVO userForbiddenVO);

    void updateUserForbidden(UserForbiddenVO userForbiddenVO);

    void removeUserForbidden(String forbiddenId);

    Map<String, Object> listUserForbidden(Long uid,String forbiddenId, Byte forbiddenType, String forbiddenValue, Byte existLimitTime,Byte state,Integer offset,Integer limit,String startTimes,String endTimes);

    BaseRsp batchAddUserForbidden(UserForbiddenAdminDTO adminDTO);

    Set<String> findForbiddenIp(Set<String> ipList);

    Set<String> findForbiddenDeviceId(Set<String> deviceIdList);


}
